Rails.application.routes.draw do
  # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
  post 'authenticate', to: 'authentication#authenticate'
  resources :musics, only: [:index,:create,:show,:update,:destroy]
  resources :singers, only: [:index,:create,:show,:update,:destroy]
  resources :users, only: [:index,:create,:show,:update,:destroy]
  resources :albums, only: [:index,:create,:show,:update,:destroy]
end
